package com.link.base.base.mpconfig.service;

import com.link.base.base.mpconfig.model.Mp;
import com.link.core.basic.service.BasicService;

/**
 * 小程序token service
 *
 * @author lujiang
 * @date 2019-03-11
 */
public interface MpTokenService extends BasicService<Mp> {
    /**
     * 根据小程序应用Id获取access_token
     *
     * @author lujiang
     * @date 2019-03-11
     * @param mp 小程序应用信息
     */
    String getMpAccessToken(Mp mp) throws Exception;

}
